package com.bo.baby2.service.impl;

import com.bo.baby2.dao.TUserWalletMapper;
import com.bo.baby2.entity.TUserWallet;
import com.bo.baby2.service.UserWallet;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @program: baby2_p2p
 * @description:
 * @author:波
 * @create: 2020-07-12 19:42
 **/
@Service
public class UserWallerServiceImpl implements UserWallet {
    @Resource
    private TUserWalletMapper userWalletMapper;
    @Override
    public int insertSelective(TUserWallet record) {
        return userWalletMapper.insertSelective(record);
    }

    @Override
    public TUserWallet selectByPrimaryKey(String accountId) {
        return userWalletMapper.selectByPrimaryKey(accountId);
    }
}
